package com.tiancan.design.user.dao;

import com.tiancan.design.user.bean.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/** @author tiancan */
public interface UserDao extends JpaRepository<User, Integer> {
  User findUserByEmailAndIsValid(String email, Boolean isValid);
}
